home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000338_fdc@columbia.edu_Thu Oct 23 12:45:19 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: DSR off ...
  5. Date: 22 Oct 2003 21:32:34 GMT
  6. Organization: Columbia University
  7. Lines: 28
  8. Message-ID: <slrnbpdtri.ilh.fdc@sesame.cc.columbia.edu>
  9. References: <cf6cc183.0310211334.2b68926b@posting.google.com> <slrnbpbcob.co2.fdc@sesame.cc.columbia.edu> <8ce22d01.0310211755.5aeb83f8@posting.google.com> <cf6cc183.0310221148.69ac828a@posting.google.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1066858354 14696 128.59.59.56 (22 Oct 2003 21:32:34 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 22 Oct 2003 21:32:34 GMT
  15. User-Agent: slrn/0.9.7.4 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14591
  17.  
  18. In article <cf6cc183.0310221148.69ac828a@posting.google.com>, icurmt wrote:
  19. : Thanks for your inputs.
  20. : What looks like is that DTR pin is turned high during set line call
  21. : and is turned low during hangup.
  22. That's how it's supposed to work.
  23.  
  24. : If, I can keep  the DTR pin low during the communication then it would
  25. : solve my problem. Please let me know if there's a higher level call I
  26. : can make through script to keep it on.
  27. Again, device drivers handle modem signals.  In general, there is no API
  28. for turning on and off individual modem signals, but some OS's do have this.
  29. However, it is rarely necessary.  The functions of modem signals are clearly
  30. defined in the standards and if you have the appropriate cables -- i.e.
  31. ones that connect the right output pin on one end to the right input pin on
  32. the other end, everything just works.
  33.  
  34. : Also read somewhere that setting speed to 0 and then turning it to
  35. : non-zero would flip the DTR pin as well.
  36. It depends on the operating system.  Every OS has a different API for
  37. "hanging up" by turning DTR off, pausing, and then turning it on.  Kermit
  38. does this for you without requiring you to know the details if you give
  39. a HANGUP command on a serial-port or modem connection.
  40.  
  41. - Frank
  42.